function vect=getMainVector(A)
 mat=logm(A);
 mat=2*mat./-1i;
 vect=[real(mat(1,2))  imag(mat(2,1)) mat(1,1)];
 vect=[real(vect(1)) real(vect(2)) real(vect(3))];
endfunction
